home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / system / porttool.zip / LS.MAN < prev    next >
Text File  |  1992-12-03  |  5KB  |  111 lines

  1.  
  2.    NNAAMMEE
  3.       ls - list the contents of a directory
  4.  
  5.    SSYYNNOOPPSSIISS
  6.       llss [ -aAbcCdfFghilmnopqrRstux ] [ _f_i_l_e_n_a_m_e ]...
  7.  
  8.    DDEESSCCRRIIPPTTIIOONN
  9.       For each _f_i_l_e_n_a_m_e which is a directory, llss lists the contents of
  10.       the directory;  for each _f_i_l_e_n_a_m_e which is a file, llss repeats its
  11.       name and any other information requested.  By default, the output
  12.       is sorted alphabetically.  When no argument is given, the current
  13.       directory is listed.  When several arguments are given, the
  14.       arguments are first sorted appropriately, but file arguments are
  15.       processed before directories and their contents.
  16.  
  17.       This version uses a file globbing mechanism similar to sshh(1), so
  18.       giving commands like "ls */*.[ch]" will produce results similar to
  19.       those produced by sshh(1).
  20.  
  21.       In order to determine output formats for the --CC, --xx, and --mm
  22.       options, llss examines the COLUMNS environment variable to determine
  23.       the number of character positions available on an output line.  If
  24.       this variable is not set, 80 columns are assumed.
  25.  
  26.       The mode printed under the --ll option contains 6 characters
  27.       interpreted as follows.  Each character represents one bit of the
  28.       directory attribute field.  The characters represent:
  29.          a     the ARCHIVE attribute;
  30.          d     entry is a directory;
  31.          v     entry is a volume label;
  32.          s     the SYSTEM attribute;
  33.          h     the HIDDEN attribute;
  34.          r     the READ-ONLY attribute.
  35.  
  36.       Dates and times are always printed with the same format, to make
  37.       life easier for scripts and token parsers.
  38.  
  39.    OOPPTTIIOONNSS
  40.       The following options can appear either on the command line
  41.       (preceding any other arguments) or in the environment variable
  42.       LSFLAGS (for example, "set LSFLAGS=ACbp").
  43.  
  44.       --aa List all entries;  in the absence of this option, the "." and
  45.          ".." entries or entries that have the HIDDEN or SYSTEM attribute
  46.          are nnoott listed.
  47.  
  48.       --AA Same as -a, except that "." and ".." are not  listed.
  49.  
  50.       --bb Force printing of non-graphic characters to be in the octal \ddd
  51.          notation.
  52.  
  53.       --cc Use time of last modification for sorting or printing.  If not
  54.          available, 0 is used and dashes are printed.
  55.  
  56.       --CC Force multi-column output, with entries sorted down the
  57.          columns.
  58.  
  59.       --dd If argument is a directory, list only its name (not its
  60.          contents);  often used with --ll to get the status of a directory.
  61.  
  62.       --ff Not supported.
  63.  
  64.       --FF Mark directories with a trailing slash ('/') and executable
  65.          files with a trailing asterisk ('*').  llss is generous in the
  66.          interpretation of "executable".
  67.  
  68.       --gg Same as --ll.
  69.  
  70.       --hh Display a more complete usage description on the standard
  71.          output.
  72.  
  73.       --ii Not supported.
  74.  
  75.       --ll List in long format, giving attributes, size in bytes, and time
  76.          of last modification for each file.  If the file is a device the
  77.          attribute field will contain the string "DEVICE", and the size
  78.          field will contain the hexadecimal representation of the magic
  79.          number returned by the system.
  80.  
  81.       --mm Stream output format;  the file names are printed as a  list
  82.          separated by commas, with as many entries as possible printed on
  83.          a line.
  84.  
  85.       --nn Same as --ll.
  86.  
  87.       --oo Same as --ll.
  88.  
  89.       --pp Put a slash ('/') after each filename if that file is a
  90.          directory.
  91.  
  92.       --qq Display non-graphic characters in filenames as the character ?;
  93.          this is the default when output is to a terminal.
  94.  
  95.       --rr Reverse the order of sort to get reverse alphabetic or oldest
  96.          first as appropriate.
  97.  
  98.       --RR Recursively list subdirectories encountered.
  99.  
  100.       --ss Give size of each file in kilobytes.
  101.  
  102.       --tt Sort by time modified (latest first) instead of by name.
  103.  
  104.       --uu Use time of last access instead of last modification for sorting
  105.          (with the -t option) and/or printing (with the -l option).
  106.  
  107.       --xx Multi-column output with entries sorted across rather than down
  108.          the page.
  109.  
  110.    CCooppyyrriigghhtt  ((cc))  11999922    FFrraannkk  EE..  WWhhaalleeyy    AAllll  rriigghhttss  rreesseerrvveedd
  111.